﻿using System.Collections.Generic;
using Kele.Repository;
using Newtonsoft.Json;

namespace Kele.Activity.Models
{
    [Table("kl_form")]
    public class Form 
    {
        [JsonIgnore]
        public int Id { get;set;}
        
        public string Key { get; set; }
        public string Alias { get; set; }
        public string Slogan { get; set; }
                              
        public string FormName { get; set; }

        public string Cover { get; set; }

        public string DemoUrl { get; set; }

        public string Style { get; set; }

        public string Description { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public List<FormGroup> Groups { get; set; }
    }

}